﻿using Ninject.Modules;
using Ninject.Web.Common;

namespace TestWebApp.DataAccess.Common
{
    public class DataAccessInjectModule : NinjectModule
    {
        public override void Load()
        {
            Bind(typeof(IRepository<>)).To(typeof(Repository<>))
                .InRequestScope();
        }
    }
}
